<!--  -->
<template>
  <div class="">
    hello
    <span>{{$store.state.count}}</span>
    <span>{{$store.state.count}}</span>
    <span>{{$store.state.count}}</span>
    <span>{{$store.state.count}}</span>
    <button @click="$store.commit('adds')">+++</button>
    <button @click="change">+++</button>
  </div>
</template>

<script setup>
import { } from 'vue'
import { useStore } from 'vuex'
const store = useStore()
const change = () => {
  store.commit('adds')
}

</script>
<style lang="scss" scoped>
</style>
